package com.lhframework.socket.repository;

import com.lhframework.socket.model.RealTrack;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * Created by lh on 2017/8/11.
 */
public interface RealTrackRepository extends MongoRepository<RealTrack, String> {
    List<RealTrack> findByActivityIdAndUserId(Long targetId, Long userId);
}
